<div class=page_head>
<h2>New story</h2>
</div>

<%= error_messages_for :story %>

<% form_for(:story, :url => stories_path) do |f| %>
  <p>
    <b>Company Name</b><br />
    <%= f.text_field :name ,:class=>'big_font'%>
  </p>

  <p>
    <%= f.check_box :in_home%>
    <b>Show in homapge</b>
  </p>

  <p>
    <b>Buzz</b><br />
    <%= f.text_area :buzz,:cols=>80,:rows=>4 %>
  </p>

  <p>
    <b>Industry</b><br />
    <%= f.text_field :industry%>
  </p>

  <p>
    <b>owner</b><br />
    <%= f.text_field :owner %>
  </p>

  <p>
    <b>Url</b><br />
    <%= f.text_field :url %>
  </p>

  <p>
    <b>Body</b><br />
    <%= fckeditor_text "story[body]",'message' %>
  </p>

  <p>
    <%= submit_tag "Create" %>
  </p>
<% end %>

<%= link_to 'Back', stories_path %>
